package com.itms.mapper;

import com.itms.entity.Package;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface PackageMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Package record);

    int insertSelective(Package record);

    Package selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Package record);

    int updateByPrimaryKey(Package record);

    Package getPacakgeByPacakgeCode(@Param("packageCode") String packageCode,@Param("isValid") String isValid);
}